<template>
  <div class="baseInfo-maintain-wrap">
    <!-- 多单位 -->
    <unit-list v-if="$store.state.userinfo.isMuilUnitUser === 1" :organizationIds="$store.state.userinfo.organizationIds"></unit-list>
    <!-- 单单位 -->
    <safe-list v-else :organizationId="$store.state.userinfo.org.id"></safe-list>
  </div>
</template>

<script>
import unitList from './PageModel/InspectAreaUnitList'
import safeList from './PageModel/InspectAreaList'

export default {
  name:'InspectArea',//安全制度
  components: {
    unitList,
    safeList
  },
  data() {
    return { }
  },
}
</script>
